<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>图片上传</title>
</head>
<body>

<form method="post" action="" enctype="multipart/form-data">
    <input name="picfile" type="file">
    <button>上传</button>
</form>
</body>
</html>